<!--
 * @Author: fengweicong 75202172+fengweicong@users.noreply.github.com
 * @Date: 2022-07-12 15:04:59
 * @LastEditors: fengweicong 75202172+fengweicong@users.noreply.github.com
 * @LastEditTime: 2022-07-12 15:24:18
 * @FilePath: \B2B\ebuy\src\components\DeliveryAddress.vue
 * @Description: 
 * 
 * Copyright (c) 2022 by fengweicong 75202172+fengweicong@users.noreply.github.com, All Rights Reserved. 
-->
<template>
  <div class="address">
     <el-table :header-cell-style="{ background: '#f5f7fa' }" :data="list">
        <el-table-column prop="receiver_name" label="收货人" width="100"> </el-table-column>
        <el-table-column prop="receiver_phone" label="手机号码"> </el-table-column>
        <el-table-column prop="" label="地址">
            <template slot-scope="scope">
                {{scope.row.receiver_area}} {{scope.row.receiver_deatailed_address}}
            </template>
        </el-table-column>
    </el-table>
  </div>
</template>

<script>
export default {
    name: 'DeliveryAddress',
    props:{
        address:Object
    },
    computed: {
        list() {
            return [this.address]
        }
    }
}
</script>

<style>

</style>